﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ActivePrivateVector
{
    public string activeName;
    public List<float> list;

    public ActivePrivateVector(string name)
    {
        activeName = name;
        list = new List<float>();
    }

    public void push_vector(float num)
    {
        list.Add(num);
    }

    public float get_vector(int num)
    {
        return list[num];
    }

    public void clear_vector()
    {
        list = new List<float>();
    }

    public void set_vector(int num, float vector)
    {
        list[num] = vector;
    }

    public int get_size()
    {
        if (list == null)
            return 0;
        return list.Count;
    }

}